﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DusonFramework.Config.MyConfig
{
    public interface IConfig
    {
        /// <summary>
        /// 根据键获得值
        /// </summary>
        /// <param name="key">键</param>
        /// <returns>操作结果</returns>
        string GetValueByKey(string key);

        /// <summary>
        /// 更新值
        /// </summary>
        /// <param name="key">键</param>
        /// <param name="value">值</param>
        /// <returns>操作结果</returns>
        bool UpdateValue(string key, string value);

    }
}
